package cn.cloud.butler.scheduled;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;



@SpringBootApplication
@EnableScheduling
@EnableDiscoveryClient //用于启动服务发现功能
public class ScheduledTaskSpringBootApplication {
    public static void main(String[] args) {
        SpringApplication.run(ScheduledTaskSpringBootApplication.class, args);
    }
}
